package com.liangsui.cmall.ware.feign;

import com.liangsui.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * OrderFeignService
 *
 * @author zhangjiawei
 * @email 1533167396@qq.com
 * @date 2022/8/21 18:25
 */
@FeignClient("cmall-order")
public interface OrderFeignService {
    @GetMapping("/order/order/status/{orderSn}")
    R getOrderStatus(@PathVariable("orderSn") String orderSn);
}
